//
//  DesignCenterCardModel.m
//  ForestPack
//
//  Created by jimmy on 2018/8/2.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import "DesignCenterCardModel.h"

@implementation DesignCenterCardModel

+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                                  @"Id": @"id",
                                                                  }];
}

- (instancetype)initWithDic:(NSDictionary *)dict {
    self = [super init];
    if (self) {
        self.design_name = [NSString stringWithFormat:@"%@",dict[@"design_name"]];
        self.pic = [NSString stringWithFormat:@"%@",dict[@"pic"]];
        self.Id = [NSString stringWithFormat:@"%@",dict[@"id"]];
        self.price = [NSString stringWithFormat:@"%@",dict[@"price"]];
        self.realname = [NSString stringWithFormat:@"%@",dict[@"realname"]];
    }
    return self;
}

@end
